#ifndef EPIK_MODEL_H_
#define EPIK_MODEL_H_

#include "Epik_Vertex.h"
#include "Epik_Movement.h"
#include <psptypes.h>

class Epik_Model
{
	bool moving_;
	char name_[32];
	int vCnt_;
	Epik_MoveMgr *moveSpec_;
	int pCnt_;
	u64 moveTickStart;

	Vertex *part_;
	Epik_Model **parts_;
	Epik_Movement *moves_;

	ScePspFVector3 scale_;       // Whole model scale
	ScePspFVector3 rot_;         // Rotation in DEGREES
	ScePspFVector3 *partPos_;    // Part positions
	ScePspFVector3 *partRot_;    // Part rotations

public:
	Epik_Model(const char *filename);
	~Epik_Model();

	void Render();
	void SetMove(const int moveIndex);
//		void Alter( enum MOVEMENT_MODE mode )

private:
	int keyMS(const char *);
	int keyMVC(const char *);
	int keyMV(const char *);
	int keyN(const char *);
	int keyPC(const char *);
	int keyPF(const char *);
	int keyPP(const char *);
	int keyPR(const char *);
	int keyV(const char *);
	int keyVC(const char *);
};

#endif
